<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
 </head>
 <body>
  <script type="text/javascript">
    var t=new RegExp("e","g");
  do
{
result=t.exec("The best things in life are free");
document.write(result);
}
while (result!=null) 
t.compile("d");
result=t.test("The ddmap");
document.write(result);

  </script>
  
 </body>
</html>
